import {
	post
} from './api.js'

// 获取用户信息
export const getUserInfo = (data) => {
	return post('/users/index/workbench', data)
}

// 发布需求
export const mapGetInfo = (data) => {
	// 发送登录请求
	return post('/common/common/get_address', data)
}

export const requireType = (data)=>{
	return post('/common/demand/cat_list',data)
}

export const designItem = (data)=>{
	return post('/common/service/area_designer',data)
}

export const cropItem = (data)=>{
	return post('/common/service/area_corp',data)
}

//退出登录
export const loginOut = ()=>{
	return post('/users/index/logout')
}